Maintain map/unmap invariants in GtkRecentChooserDialog
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>
Wed, 16 Nov 2011 08:03:12 +0000 (09:03 +0100)
committerKjell Ahlstedt <kjell.ahlstedt@bredband.net>
Wed, 16 Nov 2011 18:56:11 +0000 (19:56 +0100)
commite8bb2e4545365d83261381a14920b773aba4a678
tree8a86b91d8b30293fa13bf106acd57346dd6400b8
parentab27fa9bba319469a077828e13945a89144115c2
Maintain map/unmap invariants in GtkRecentChooserDialog

We used to explicitly map and unmap the child GtkRecentChooserWidget when
mapping and unmapping the dialog, respectively. Now that GtkContainer actually
unmaps child widgets (instead of avoiding that), we can assume that the
child GtkRecentChooserWidget will be unmapped when we want it to be.

This fixes a warning from gtk_widget_verify_invariants(), as we were mapping
our child widget before calling our parent class' ::map() handler. Bug #659257.
gtk/gtkrecentchooserdialog.c